package com.zvan.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by zhangv on 2017/9/26.
 */
@FeignClient(value = "A-SERVICE",fallback = HiServiceHystric.class)
public interface HiService {
    @RequestMapping(value = "/hi", method = RequestMethod.GET)
    String sayHi();
}
